package com.tbit.maintain.api;


import com.tbit.maintain.dto.StockMachineDTO;
import com.tbit.maintain.enums.ApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(name = ApiConstants.NAME)
public interface StockMachineApi {

    String PREFIX = ApiConstants.PREFIX + "/stockMachine";

    /**
     * @description: 车辆入库
     * @author: mo.shanyong
     * @date: 2025/3/28 16:29
     * @param: stockMachineDTO
     */
    @PostMapping(value = PREFIX + "/add",produces = "application/json", consumes = "application/json")
    void add(@RequestBody StockMachineDTO stockMachineDTO);

    /**
     * @description: 车辆出库
     * @author: mo.shanyong
     * @date: 2025/3/28 16:33
     * @param: stockMachineDTO
     */
    @PostMapping(value = PREFIX + "/del",produces = "application/json", consumes = "application/json")
    void del(@RequestBody StockMachineDTO stockMachineDTO);



}
